var statage_female_3rd = [
    [36.5, 34.21382685],
    [37.5, 34.42317614],
    [38.5, 34.62972396],
    [39.5, 34.83407375],
    [40.5, 35.03675206],
    [41.5, 35.23821614],
    [42.5, 35.43886071],
    [43.5, 35.63902428],
    [44.5, 35.83899477],
    [45.5, 36.0390147],
    [46.5, 36.23928573],
    [47.5, 36.43997292],
    [48.5, 36.64120842],
    [49.5, 36.84309488],
    [50.5, 37.04570846],
    [51.5, 37.24910155],
    [52.5, 37.45330524],
    [53.5, 37.65833152],
    [54.5, 37.86417527],
    [55.5, 38.07081602],
    [56.5, 38.27821965],
    [57.5, 38.48633982],
    [58.5, 38.69511934],
    [59.5, 38.90449138],
    [60.5, 39.11438065],
    [61.5, 39.32470436],
    [62.5, 39.53537328],
    [63.5, 39.74629257],
    [64.5, 39.95736264],
    [65.5, 40.16847988],
    [66.5, 40.37953747],
    [67.5, 40.59042601],
    [68.5, 40.8010342],
    [69.5, 41.01124951],
    [70.5, 41.22095773],
    [71.5, 41.43004698],
    [72.5, 41.63840268],
    [73.5, 41.84591283],
    [74.5, 42.05246625],
    [75.5, 42.25795365],
    [76.5, 42.46226777],
    [77.5, 42.66530394],
    [78.5, 42.86696039],
    [79.5, 43.06713873],
    [80.5, 43.26574415],
    [81.5, 43.46268583],
    [82.5, 43.65787712],
    [83.5, 43.85123612],
    [84.5, 44.04268559],
    [85.5, 44.23215353],
    [86.5, 44.4195732],
    [87.5, 44.60488361],
    [88.5, 44.78802954],
    [89.5, 44.96896184],
    [90.5, 45.14763777],
    [91.5, 45.32402105],
    [92.5, 45.49808229],
    [93.5, 45.66979907],
    [94.5, 45.83915633],
    [95.5, 46.00614642],
    [96.5, 46.17076966],
    [97.5, 46.33303435],
    [98.5, 46.49295739],
    [99.5, 46.65056429],
    [100.5, 46.8058898],
    [101.5, 46.95897823],
    [102.5, 47.10988379],
    [103.5, 47.25867131],
    [104.5, 47.40541647],
    [105.5, 47.5502067],
    [106.5, 47.6931415],
    [107.5, 47.83433323],
    [108.5, 47.97390799],
    [109.5, 48.11200598],
    [110.5, 48.24878275],
    [111.5, 48.38440967],
    [112.5, 48.51907498],
    [113.5, 48.65298462],
    [114.5, 48.78636288],
    [115.5, 48.91945342],
    [116.5, 49.05251987],
    [117.5, 49.18584632],
    [118.5, 49.31973774],
    [119.5, 49.45452013],
    [120.5, 49.59054028],
    [121.5, 49.728165],
    [122.5, 49.86778012],
    [123.5, 50.00978846],
    [124.5, 50.15460708],
    [125.5, 50.30266441],
    [126.5, 50.45439429],
    [127.5, 50.61023142],
    [128.5, 50.77060356],
    [129.5, 50.93592329],
    [130.5, 51.10657819],
    [131.5, 51.28291958],
    [132.5, 51.46525031],
    [133.5, 51.65381144],
    [134.5, 51.84876871],
    [135.5, 52.05019846],
    [136.5, 52.25807479],
    [137.5, 52.47225719],
    [138.5, 52.69248243],
    [139.5, 52.91835503],
    [140.5, 53.14934709],
    [141.5, 53.38479808],
    [142.5, 53.62392388],
    [143.5, 53.86582334],
    [144.5, 54.10949989],
    [145.5, 54.3538799],
    [146.5, 54.59783791],
    [147.5, 54.84022391],
    [148.5, 55.07989155],
    [149.5, 55.3157266],
    [150.5, 55.54667322],
    [151.5, 55.77175779],
    [152.5, 55.99010834],
    [153.5, 56.20096968],
    [154.5, 56.40371329],
    [155.5, 56.59784202],
    [156.5, 56.78299047],
    [157.5, 56.95892072],
    [158.5, 57.12551478],
    [159.5, 57.28276424],
    [160.5, 57.4307583],
    [161.5, 57.5696703],
    [162.5, 57.69974431],
    [163.5, 57.82128158],
    [164.5, 57.93462782],
    [165.5, 58.04016142],
    [166.5, 58.13828277],
    [167.5, 58.22940507],
    [168.5, 58.31394669],
    [169.5, 58.39232232],
    [170.5, 58.46494208],
    [171.5, 58.53220338],
    [172.5, 58.59448885],
    [173.5, 58.65216396],
    [174.5, 58.70557556],
    [175.5, 58.75505082],
    [176.5, 58.80089608],
    [177.5, 58.84339918],
    [178.5, 58.8828268],
    [179.5, 58.91942662],
    [180.5, 58.9534277],
    [181.5, 58.98504138],
    [182.5, 59.0144623],
    [183.5, 59.04186921],
    [184.5, 59.06742607],
    [185.5, 59.09128325],
    [186.5, 59.11357814],
    [187.5, 59.13443662],
    [188.5, 59.1539734],
    [189.5, 59.17229349],
    [190.5, 59.18949251],
    [191.5, 59.20565788],
    [192.5, 59.22086922],
    [193.5, 59.23519927],
    [194.5, 59.24871432],
    [195.5, 59.26147491],
    [196.5, 59.27353626],
    [197.5, 59.28494882],
    [198.5, 59.29575867],
    [199.5, 59.30600797],
    [200.5, 59.31573518],
    [201.5, 59.32497566],
    [202.5, 59.33376169],
    [203.5, 59.34212283],
    [204.5, 59.35008638],
    [205.5, 59.35767721],
    [206.5, 59.36491832],
    [207.5, 59.37183084],
    [208.5, 59.37843427],
    [209.5, 59.38474656],
    [210.5, 59.39078428],
    [211.5, 59.39656286],
    [212.5, 59.40209645],
    [213.5, 59.4073983],
    [214.5, 59.41248055],
    [215.5, 59.41735468],
    [216.5, 59.42203122],
    [217.5, 59.42652008],
    [218.5, 59.43083048],
    [219.5, 59.43497099],
    [220.5, 59.4389497],
    [221.5, 59.44277419],
    [222.5, 59.44645151],
    [223.5, 59.44998836],
    [224.5, 59.45339096],
    [225.5, 59.45666526],
    [226.5, 59.45981683],
    [227.5, 59.46285085],
    [228.5, 59.46577239],
    [229.5, 59.46858609],
    [230.5, 59.47129645],
    [231.5, 59.47390763],
    [232.5, 59.47642369],
    [233.5, 59.47884842],
    [234.5, 59.48118547],
    [235.5, 59.48343822],
    [236.5, 59.48561004],
    [237.5, 59.48770401],
    [238.5, 59.48972315],
    [239.5, 59.49167028],
    [240, 59.49261772]

];

var statage_female_5th = [
    [36.5, 34.56902716],
    [37.5, 34.78047631],
    [38.5, 34.98921521],
    [39.5, 35.1958199],
    [40.5, 35.40079501],
    [41.5, 35.60458046],
    [42.5, 35.80755753],
    [43.5, 36.01005452],
    [44.5, 36.2123519],
    [45.5, 36.41468692],
    [46.5, 36.6172579],
    [47.5, 36.820228],
    [48.5, 37.02372874],
    [49.5, 37.22786305],
    [50.5, 37.43270815],
    [51.5, 37.63831807],
    [52.5, 37.84472596],
    [53.5, 38.05194613],
    [54.5, 38.259976],
    [55.5, 38.46879778],
    [56.5, 38.67838002],
    [57.5, 38.88867904],
    [58.5, 39.09964024],
    [59.5, 39.31119929],
    [60.5, 39.52328327],
    [61.5, 39.73581158],
    [62.5, 39.94869704],
    [63.5, 40.16184665],
    [64.5, 40.37516251],
    [65.5, 40.58854251],
    [66.5, 40.80188113],
    [67.5, 41.01507006],
    [68.5, 41.22799888],
    [69.5, 41.44055584],
    [70.5, 41.65262761],
    [71.5, 41.86410206],
    [72.5, 42.07486536],
    [73.5, 42.28480555],
    [74.5, 42.49381149],
    [75.5, 42.70177365],
    [76.5, 42.90858459],
    [77.5, 43.11413934],
    [78.5, 43.31833571],
    [79.5, 43.52107484],
    [80.5, 43.72226144],
    [81.5, 43.92180407],
    [82.5, 44.11961564],
    [83.5, 44.31561354],
    [84.5, 44.5097201],
    [85.5, 44.70186272],
    [86.5, 44.89197432],
    [87.5, 45.07999348],
    [88.5, 45.26586464],
    [89.5, 45.44953856],
    [90.5, 45.63097244],
    [91.5, 45.81013021],
    [92.5, 45.98698275],
    [93.5, 46.16150831],
    [94.5, 46.33369254],
    [95.5, 46.50352897],
    [96.5, 46.67101934],
    [97.5, 46.83617376],
    [98.5, 46.99901117],
    [99.5, 47.15955976],
    [100.5, 47.31785732],
    [101.5, 47.47395166],
    [102.5, 47.62790111],
    [103.5, 47.77977509],
    [104.5, 47.92965466],
    [105.5, 48.07763301],
    [106.5, 48.22381628],
    [107.5, 48.36832411],
    [108.5, 48.51129041],
    [109.5, 48.65286419],
    [110.5, 48.79321017],
    [111.5, 48.93250969],
    [112.5, 49.0709615],
    [113.5, 49.20878236],
    [114.5, 49.34620791],
    [115.5, 49.48349322],
    [116.5, 49.62091309],
    [117.5, 49.7587625],
    [118.5, 49.89735663],
    [119.5, 50.03703029],
    [120.5, 50.17813753],
    [121.5, 50.32105013],
    [122.5, 50.46615591],
    [123.5, 50.61385603],
    [124.5, 50.76456159],
    [125.5, 50.91868946],
    [126.5, 51.0766564],
    [127.5, 51.23887279],
    [128.5, 51.40573473],
    [129.5, 51.57761514],
    [130.5, 51.75485334],
    [131.5, 51.93774403],
    [132.5, 52.12652531],
    [133.5, 52.32136601],
    [134.5, 52.52235313],
    [135.5, 52.72947989],
    [136.5, 52.94263469],
    [137.5, 53.16159166],
    [138.5, 53.38600501],
    [139.5, 53.61540391],
    [140.5, 53.84919459],
    [141.5, 54.08666381],
    [142.5, 54.32698989],
    [143.5, 54.56925344],
    [144.5, 54.8124583],
    [145.5, 55.05555127],
    [146.5, 55.29744671],
    [147.5, 55.53705204],
    [148.5, 55.77329382],
    [149.5, 56.00514264],
    [150.5, 56.23163615],
    [151.5, 56.45189867],
    [152.5, 56.66515729],
    [153.5, 56.87075331],
    [154.5, 57.06814912],
    [155.5, 57.25693088],
    [156.5, 57.43680684],
    [157.5, 57.60760229],
    [158.5, 57.76925155],
    [159.5, 57.9217877],
    [160.5, 58.065331],
    [161.5, 58.20007651],
    [162.5, 58.3262815],
    [163.5, 58.44425302],
    [164.5, 58.55433642],
    [165.5, 58.65690467],
    [166.5, 58.75234873],
    [167.5, 58.84106937],
    [168.5, 58.92347009],
    [169.5, 58.99995021],
    [170.5, 59.07090225],
    [171.5, 59.13670642],
    [172.5, 59.19772811],
    [173.5, 59.25431597],
    [174.5, 59.30680065],
    [175.5, 59.35549382],
    [176.5, 59.40068759],
    [177.5, 59.44265568],
    [178.5, 59.48165232],
    [179.5, 59.51791348],
    [180.5, 59.55165763],
    [181.5, 59.58308631],
    [182.5, 59.61238534],
    [183.5, 59.63972543],
    [184.5, 59.66526348],
    [185.5, 59.68914326],
    [186.5, 59.71149654],
    [187.5, 59.73244387],
    [188.5, 59.75209553],
    [189.5, 59.77055243],
    [190.5, 59.78790662],
    [191.5, 59.80424229],
    [192.5, 59.81963632],
    [193.5, 59.83415896],
    [194.5, 59.84787444],
    [195.5, 59.86084134],
    [196.5, 59.87311332],
    [197.5, 59.88473935],
    [198.5, 59.89576435],
    [199.5, 59.9062294],
    [200.5, 59.91617208],
    [201.5, 59.92562693],
    [202.5, 59.93462555],
    [203.5, 59.94319705],
    [204.5, 59.95136816],
    [205.5, 59.95916348],
    [206.5, 59.96660557],
    [207.5, 59.97371538],
    [208.5, 59.98051219],
    [209.5, 59.98701377],
    [210.5, 59.99323661],
    [211.5, 59.99919598],
    [212.5, 60.00490602],
    [213.5, 60.01037993],
    [214.5, 60.01562993],
    [215.5, 60.02066737],
    [216.5, 60.02550289],
    [217.5, 60.03014639],
    [218.5, 60.03460714],
    [219.5, 60.03889384],
    [220.5, 60.04301459],
    [221.5, 60.04697703],
    [222.5, 60.05078833],
    [223.5, 60.05445519],
    [224.5, 60.05798405],
    [225.5, 60.06138078],
    [226.5, 60.06465114],
    [227.5, 60.06780043],
    [228.5, 60.07083374],
    [229.5, 60.07375583],
    [230.5, 60.07657122],
    [231.5, 60.07928425],
    [232.5, 60.08189906],
    [233.5, 60.08441949],
    [234.5, 60.08684926],
    [235.5, 60.0891919],
    [236.5, 60.0914508],
    [237.5, 60.09362914],
    [238.5, 60.09573001],
    [239.5, 60.09775635],
    [240, 60.09874245]

];

var statage_female_10th = [
    [36.5, 35.11925083],
    [37.5, 35.33417389],
    [38.5, 35.54651801],
    [39.5, 35.75682068],
    [40.5, 35.96555554],
    [41.5, 36.17313784],
    [42.5, 36.37992966],
    [43.5, 36.58624461],
    [44.5, 36.79235224],
    [45.5, 36.99848208],
    [46.5, 37.20482729],
    [47.5, 37.41154801],
    [48.5, 37.61877443],
    [49.5, 37.82660954],
    [50.5, 38.03513166],
    [51.5, 38.24439677],
    [52.5, 38.45444053],
    [53.5, 38.66528025],
    [54.5, 38.8769166],
    [55.5, 39.08933518],
    [56.5, 39.30250804],
    [57.5, 39.51639496],
    [58.5, 39.73094472],
    [59.5, 39.94609622],
    [60.5, 40.1617796],
    [61.5, 40.37791712],
    [62.5, 40.59442424],
    [63.5, 40.81121038],
    [64.5, 41.02817975],
    [65.5, 41.24523211],
    [66.5, 41.46226353],
    [67.5, 41.67916715],
    [68.5, 41.89583361],
    [69.5, 42.11215191],
    [70.5, 42.32801002],
    [71.5, 42.5432951],
    [72.5, 42.75789455],
    [73.5, 42.97169604],
    [74.5, 43.18458844],
    [75.5, 43.3964619],
    [76.5, 43.60720867],
    [77.5, 43.81672319],
    [78.5, 44.02490283],
    [79.5, 44.23164794],
    [80.5, 44.43686262],
    [81.5, 44.64045478],
    [82.5, 44.84233654],
    [83.5, 45.04242472],
    [84.5, 45.24064104],
    [85.5, 45.43691245],
    [86.5, 45.63117137],
    [87.5, 45.82335624],
    [88.5, 46.01341146],
    [89.5, 46.20128794],
    [90.5, 46.38694332],
    [91.5, 46.57034223],
    [92.5, 46.75145662],
    [93.5, 46.93026605],
    [94.5, 47.10675811],
    [95.5, 47.28092856],
    [96.5, 47.45278181],
    [97.5, 47.62233135],
    [98.5, 47.78960002],
    [99.5, 47.9546205],
    [100.5, 48.11743575],
    [101.5, 48.27809953],
    [102.5, 48.43667694],
    [103.5, 48.59324486],
    [104.5, 48.74789266],
    [105.5, 48.90072294],
    [106.5, 49.05185184],
    [107.5, 49.20141015],
    [108.5, 49.34954374],
    [109.5, 49.49641433],
    [110.5, 49.64220035],
    [111.5, 49.78709748],
    [112.5, 49.93131929],
    [113.5, 50.07509795],
    [114.5, 50.21868444],
    [115.5, 50.36234916],
    [116.5, 50.50638176],
    [117.5, 50.65109089],
    [118.5, 50.79680397],
    [119.5, 50.94386593],
    [120.5, 51.09263779],
    [121.5, 51.24349464],
    [122.5, 51.39682283],
    [123.5, 51.5530163],
    [124.5, 51.71247218],
    [125.5, 51.87558514],
    [126.5, 52.04274113],
    [127.5, 52.21430973],
    [128.5, 52.39063538],
    [129.5, 52.57202796],
    [130.5, 52.75875235],
    [131.5, 52.95101753],
    [132.5, 53.148965],
    [133.5, 53.35265787],
    [134.5, 53.5620701],
    [135.5, 53.77707715],
    [136.5, 53.99744825],
    [137.5, 54.22284105],
    [138.5, 54.45279913],
    [139.5, 54.68675335],
    [140.5, 54.92402639],
    [141.5, 55.16384176],
    [142.5, 55.40533602],
    [143.5, 55.6475758],
    [144.5, 55.88957628],
    [145.5, 56.1303233],
    [146.5, 56.36879575],
    [147.5, 56.60398911],
    [148.5, 56.83493742],
    [149.5, 57.0607342],
    [150.5, 57.2805501],
    [151.5, 57.49364782],
    [152.5, 57.69939289],
    [153.5, 57.89726063],
    [154.5, 58.08683944],
    [155.5, 58.26783009],
    [156.5, 58.44004219],
    [157.5, 58.60338763],
    [158.5, 58.75787216],
    [159.5, 58.90358531],
    [160.5, 59.04068952],
    [161.5, 59.16940888],
    [162.5, 59.29001804],
    [163.5, 59.40283117],
    [164.5, 59.50819225],
    [165.5, 59.60646581],
    [166.5, 59.69802889],
    [167.5, 59.78326405],
    [168.5, 59.86255331],
    [169.5, 59.9362737],
    [170.5, 60.00479268],
    [171.5, 60.06846559],
    [172.5, 60.12763314],
    [173.5, 60.18261994],
    [174.5, 60.23373335],
    [175.5, 60.28126291],
    [176.5, 60.32548025],
    [177.5, 60.36663905],
    [178.5, 60.40497561],
    [179.5, 60.44070921],
    [180.5, 60.47404305],
    [181.5, 60.5051648],
    [182.5, 60.53424753],
    [183.5, 60.56145062],
    [184.5, 60.58692067],
    [185.5, 60.61079218],
    [186.5, 60.63318873],
    [187.5, 60.65422354],
    [188.5, 60.67400028],
    [189.5, 60.69261403],
    [190.5, 60.7101518],
    [191.5, 60.72669323],
    [192.5, 60.74231123],
    [193.5, 60.75707253],
    [194.5, 60.77103825],
    [195.5, 60.78426444],
    [196.5, 60.79680228],
    [197.5, 60.8086989],
    [198.5, 60.81999733],
    [199.5, 60.83073718],
    [200.5, 60.84095478],
    [201.5, 60.85068357],
    [202.5, 60.8599542],
    [203.5, 60.868795],
    [204.5, 60.87723201],
    [205.5, 60.88528926],
    [206.5, 60.89298895],
    [207.5, 60.90035159],
    [208.5, 60.90739616],
    [209.5, 60.91414026],
    [210.5, 60.92060014],
    [211.5, 60.92679097],
    [212.5, 60.93272688],
    [213.5, 60.93842086],
    [214.5, 60.94388523],
    [215.5, 60.94913134],
    [216.5, 60.9541698],
    [217.5, 60.95901067],
    [218.5, 60.96366316],
    [219.5, 60.96813611],
    [220.5, 60.97243773],
    [221.5, 60.97657568],
    [222.5, 60.98055726],
    [223.5, 60.98438939],
    [224.5, 60.98807845],
    [225.5, 60.99163053],
    [226.5, 60.99505152],
    [227.5, 60.99834676],
    [228.5, 61.00152148],
    [229.5, 61.00458062],
    [230.5, 61.00752881],
    [231.5, 61.0103705],
    [232.5, 61.01310988],
    [233.5, 61.01575094],
    [234.5, 61.0182976],
    [235.5, 61.02075338],
    [236.5, 61.02312185],
    [237.5, 61.0254063],
    [238.5, 61.02760988],
    [239.5, 61.02973567],
    [240, 61.03077032]

];

var statage_female_25th = [
    [36.5, 36.04752254],
    [37.5, 36.26891038],
    [38.5, 36.48791467],
    [39.5, 36.70501833],
    [40.5, 36.92065069],
    [41.5, 37.13519151],
    [42.5, 37.3489748],
    [43.5, 37.56229245],
    [44.5, 37.77539754],
    [45.5, 37.98850754],
    [46.5, 38.2018072],
    [47.5, 38.41545122],
    [48.5, 38.62956677],
    [49.5, 38.84425577],
    [50.5, 39.05959696],
    [51.5, 39.27564792],
    [52.5, 39.49244684],
    [53.5, 39.71001408],
    [54.5, 39.92835388],
    [55.5, 40.14745562],
    [56.5, 40.3672953],
    [57.5, 40.58783656],
    [58.5, 40.809032],
    [59.5, 41.03082416],
    [60.5, 41.25314661],
    [61.5, 41.47592476],
    [62.5, 41.69907693],
    [63.5, 41.922515],
    [64.5, 42.14614548],
    [65.5, 42.36986997],
    [66.5, 42.59358607],
    [67.5, 42.81718812],
    [68.5, 43.04056777],
    [69.5, 43.26361443],
    [70.5, 43.48621707],
    [71.5, 43.70826167],
    [72.5, 43.92963648],
    [73.5, 44.15022864],
    [74.5, 44.3699264],
    [75.5, 44.58861931],
    [76.5, 44.8061988],
    [77.5, 45.0225586],
    [78.5, 45.23759506],
    [79.5, 45.45120785],
    [80.5, 45.66330009],
    [81.5, 45.87377902],
    [82.5, 46.08255622],
    [83.5, 46.28954799],
    [84.5, 46.49467582],
    [85.5, 46.69786667],
    [86.5, 46.8990534],
    [87.5, 47.09817504],
    [88.5, 47.29517707],
    [89.5, 47.49001202],
    [90.5, 47.68263953],
    [91.5, 47.87302688],
    [92.5, 48.06114914],
    [93.5, 48.24698991],
    [94.5, 48.43054127],
    [95.5, 48.61180444],
    [96.5, 48.79079013],
    [97.5, 48.96751892],
    [98.5, 49.14202177],
    [99.5, 49.31434049],
    [100.5, 49.48452822],
    [101.5, 49.65264996],
    [102.5, 49.81878324],
    [103.5, 49.98301849],
    [104.5, 50.14545991],
    [105.5, 50.30622591],
    [106.5, 50.46544981],
    [107.5, 50.62328045],
    [108.5, 50.77988289],
    [109.5, 50.93543896],
    [110.5, 51.09014779],
    [111.5, 51.24422622],
    [112.5, 51.39790937],
    [113.5, 51.55145048],
    [114.5, 51.70512123],
    [115.5, 51.85921123],
    [116.5, 52.01402758],
    [117.5, 52.16989376],
    [118.5, 52.3271483],
    [119.5, 52.48614259],
    [120.5, 52.64723847],
    [121.5, 52.81080466],
    [122.5, 52.9772127],
    [123.5, 53.14683201],
    [124.5, 53.32002383],
    [125.5, 53.49713416],
    [126.5, 53.67848694],
    [127.5, 53.86437432],
    [128.5, 54.05504809],
    [129.5, 54.25070977],
    [130.5, 54.45150047],
    [131.5, 54.65749105],
    [132.5, 54.86867278],
    [133.5, 55.08494856],
    [134.5, 55.30612624],
    [135.5, 55.53191329],
    [136.5, 55.76191448],
    [137.5, 55.99563221],
    [138.5, 56.23246907],
    [139.5, 56.47173687],
    [140.5, 56.71266484],
    [141.5, 56.95441442],
    [142.5, 57.19609333],
    [143.5, 57.43677806],
    [144.5, 57.67552965],
    [145.5, 57.91141588],
    [146.5, 58.14353108],
    [147.5, 58.37101495],
    [148.5, 58.59306936],
    [149.5, 58.80897266],
    [150.5, 59.01809085],
    [151.5, 59.2198854],
    [152.5, 59.41391803],
    [153.5, 59.59985159],
    [154.5, 59.77744885],
    [155.5, 59.94656808],
    [156.5, 60.10715671],
    [157.5, 60.2592438],
    [158.5, 60.40293069],
    [159.5, 60.53838175],
    [160.5, 60.66581449],
    [161.5, 60.78548983],
    [162.5, 60.89770316],
    [163.5, 61.00277542],
    [164.5, 61.10104551],
    [165.5, 61.19286328],
    [166.5, 61.27858344],
    [167.5, 61.35856061],
    [168.5, 61.43314435],
    [169.5, 61.5026779],
    [170.5, 61.56749159],
    [171.5, 61.62790391],
    [172.5, 61.68421918],
    [173.5, 61.73672637],
    [174.5, 61.78569856],
    [175.5, 61.8313928],
    [176.5, 61.87405046],
    [177.5, 61.91389587],
    [178.5, 61.951139],
    [179.5, 61.98597473],
    [180.5, 62.0185838],
    [181.5, 62.04913347],
    [182.5, 62.07777836],
    [183.5, 62.10466106],
    [184.5, 62.12991308],
    [185.5, 62.15365553],
    [186.5, 62.1759998],
    [187.5, 62.19704839],
    [188.5, 62.21689549],
    [189.5, 62.23562762],
    [190.5, 62.25332429],
    [191.5, 62.27005855],
    [192.5, 62.28589749],
    [193.5, 62.30090278],
    [194.5, 62.31513105],
    [195.5, 62.32863441],
    [196.5, 62.34146079],
    [197.5, 62.35365422],
    [198.5, 62.36525533],
    [199.5, 62.37630148],
    [200.5, 62.38682715],
    [201.5, 62.39686409],
    [202.5, 62.40644169],
    [203.5, 62.41558709],
    [204.5, 62.42432536],
    [205.5, 62.43267978],
    [206.5, 62.44067179],
    [207.5, 62.4483214],
    [208.5, 62.45564719],
    [209.5, 62.46266637],
    [210.5, 62.46939499],
    [211.5, 62.47584799],
    [212.5, 62.48203933],
    [213.5, 62.48798201],
    [214.5, 62.49368823],
    [215.5, 62.49916938],
    [216.5, 62.50443615],
    [217.5, 62.50949848],
    [218.5, 62.51436588],
    [219.5, 62.51904715],
    [220.5, 62.52355061],
    [221.5, 62.52788412],
    [222.5, 62.53205507],
    [223.5, 62.53607046],
    [224.5, 62.53993692],
    [225.5, 62.5436607],
    [226.5, 62.54724771],
    [227.5, 62.55070354],
    [228.5, 62.55403358],
    [229.5, 62.55724288],
    [230.5, 62.56033622],
    [231.5, 62.56331823],
    [232.5, 62.56619323],
    [233.5, 62.5689654],
    [234.5, 62.57163871],
    [235.5, 62.57421694],
    [236.5, 62.57670371],
    [237.5, 62.57910249],
    [238.5, 62.58141655],
    [239.5, 62.58364911],
    [240, 62.58473572]

];

var statage_female_50th = [
    [36.5, 37.0918929],
    [37.5, 37.32145023],
    [38.5, 37.54880736],
    [39.5, 37.77440102],
    [40.5, 37.99862253],
    [41.5, 38.22182068],
    [42.5, 38.4443045],
    [43.5, 38.66634599],
    [44.5, 38.88818269],
    [45.5, 39.11002008],
    [46.5, 39.33203392],
    [47.5, 39.55437238],
    [48.5, 39.77715809],
    [49.5, 40.00049003],
    [50.5, 40.22444526],
    [51.5, 40.44908066],
    [52.5, 40.67443444],
    [53.5, 40.90052756],
    [54.5, 41.12736516],
    [55.5, 41.3549378],
    [56.5, 41.58322273],
    [57.5, 41.81218482],
    [58.5, 42.04177794],
    [59.5, 42.2719457],
    [60.5, 42.5026226],
    [61.5, 42.73373481],
    [62.5, 42.96520119],
    [63.5, 43.196934],
    [64.5, 43.42883975],
    [65.5, 43.66081995],
    [66.5, 43.89277197],
    [67.5, 44.12458946],
    [68.5, 44.35616344],
    [69.5, 44.58738242],
    [70.5, 44.81813467],
    [71.5, 45.04830452],
    [72.5, 45.27777949],
    [73.5, 45.5064454],
    [74.5, 45.73418934],
    [75.5, 45.96089966],
    [76.5, 46.18646675],
    [77.5, 46.41078329],
    [78.5, 46.63374491],
    [79.5, 46.85525058],
    [80.5, 47.0752031],
    [81.5, 47.29350959],
    [82.5, 47.51008184],
    [83.5, 47.7248368],
    [84.5, 47.93769691],
    [85.5, 48.14859065],
    [86.5, 48.35745288],
    [87.5, 48.56422512],
    [88.5, 48.7688561],
    [89.5, 48.97130204],
    [90.5, 49.1715271],
    [91.5, 49.36950382],
    [92.5, 49.56521338],
    [93.5, 49.75864612],
    [94.5, 49.94980193],
    [95.5, 50.1386907],
    [96.5, 50.32533265],
    [97.5, 50.50975905],
    [98.5, 50.69201241],
    [99.5, 50.87214712],
    [100.5, 51.05023005],
    [101.5, 51.22634081],
    [102.5, 51.4005726],
    [103.5, 51.57303257],
    [104.5, 51.74384239],
    [105.5, 51.91313886],
    [106.5, 52.08107434],
    [107.5, 52.24781739],
    [108.5, 52.41355299],
    [109.5, 52.57848308],
    [110.5, 52.74282663],
    [111.5, 52.90681987],
    [112.5, 53.07071618],
    [113.5, 53.23478568],
    [114.5, 53.39931466],
    [115.5, 53.56460463],
    [116.5, 53.73097094],
    [117.5, 53.89874096],
    [118.5, 54.06825148],
    [119.5, 54.23984579],
    [120.5, 54.41387001],
    [121.5, 54.59066838],
    [122.5, 54.77057812],
    [123.5, 54.9539233],
    [124.5, 55.14100804],
    [125.5, 55.33210811],
    [126.5, 55.52746432],
    [127.5, 55.72727202],
    [128.5, 55.93167316],
    [129.5, 56.14074685],
    [130.5, 56.35450102],
    [131.5, 56.57286445],
    [132.5, 56.79568016],
    [133.5, 57.02270044],
    [134.5, 57.25358391],
    [135.5, 57.48789514],
    [136.5, 57.72510676],
    [137.5, 57.9646052],
    [138.5, 58.20569749],
    [139.5, 58.44762522],
    [140.5, 58.68957551],
    [141.5, 58.93069887],
    [142.5, 59.17012361],
    [143.5, 59.40697968],
    [144.5, 59.64041158],
    [145.5, 59.86959867],
    [146.5, 60.09377084],
    [147.5, 60.31222277],
    [148.5, 60.52432524],
    [149.5, 60.72953405],
    [150.5, 60.9273955],
    [151.5, 61.11754891],
    [152.5, 61.29972665],
    [153.5, 61.47375123],
    [154.5, 61.63953053],
    [155.5, 61.7970514],
    [156.5, 61.94637184],
    [157.5, 62.08761254],
    [158.5, 62.22094828],
    [159.5, 62.34659886],
    [160.5, 62.46482066],
    [161.5, 62.57589852],
    [162.5, 62.68013834],
    [163.5, 62.77786028],
    [164.5, 62.869393],
    [165.5, 62.95506829],
    [166.5, 63.03521699],
    [167.5, 63.11016518],
    [168.5, 63.18023081],
    [169.5, 63.24572415],
    [170.5, 63.3069408],
    [171.5, 63.36416477],
    [172.5, 63.41766641],
    [173.5, 63.46770179],
    [174.5, 63.51451241],
    [175.5, 63.55832538],
    [176.5, 63.59935426],
    [177.5, 63.63779696],
    [178.5, 63.67383931],
    [179.5, 63.70765385],
    [180.5, 63.73940107],
    [181.5, 63.76922963],
    [182.5, 63.79727732],
    [183.5, 63.82367171],
    [184.5, 63.84853054],
    [185.5, 63.8719628],
    [186.5, 63.89406891],
    [187.5, 63.9149416],
    [188.5, 63.93466649],
    [189.5, 63.95332245],
    [190.5, 63.97098222],
    [191.5, 63.98771286],
    [192.5, 64.00357622],
    [193.5, 64.01862941],
    [194.5, 64.03292505],
    [195.5, 64.04651171],
    [196.5, 64.05943424],
    [197.5, 64.07173413],
    [198.5, 64.08344961],
    [199.5, 64.09461615],
    [200.5, 64.10526647],
    [201.5, 64.11543096],
    [202.5, 64.12513774],
    [203.5, 64.1344129],
    [204.5, 64.14328066],
    [205.5, 64.15176346],
    [206.5, 64.15988232],
    [207.5, 64.16765666],
    [208.5, 64.17510458],
    [209.5, 64.18224308],
    [210.5, 64.18908793],
    [211.5, 64.19565384],
    [212.5, 64.20195467],
    [213.5, 64.20800333],
    [214.5, 64.21381196],
    [215.5, 64.21939188],
    [216.5, 64.22475382],
    [217.5, 64.22990775],
    [218.5, 64.23486319],
    [219.5, 64.23962906],
    [220.5, 64.24421367],
    [221.5, 64.24862501],
    [222.5, 64.25287052],
    [223.5, 64.25695734],
    [224.5, 64.26089214],
    [225.5, 64.26468132],
    [226.5, 64.26833085],
    [227.5, 64.27184648],
    [228.5, 64.27523361],
    [229.5, 64.27849747],
    [230.5, 64.2816429],
    [231.5, 64.28467463],
    [232.5, 64.28759716],
    [233.5, 64.29041464],
    [234.5, 64.29313117],
    [235.5, 64.29575066],
    [236.5, 64.29827681],
    [237.5, 64.30071311],
    [238.5, 64.30306299],
    [239.5, 64.30532965],
    [240, 64.30643276]

];

var statage_female_75th = [
    [36.5, 38.14990832],
    [37.5, 38.38869606],
    [38.5, 38.62543333],
    [39.5, 38.86052604],
    [40.5, 39.09433946],
    [41.5, 39.32720052],
    [42.5, 39.55940006],
    [43.5, 39.79119499],
    [44.5, 40.02281027],
    [45.5, 40.25444115],
    [46.5, 40.48625489],
    [47.5, 40.7183927],
    [48.5, 40.95097148],
    [49.5, 41.18408539],
    [50.5, 41.41780752],
    [51.5, 41.65219123],
    [52.5, 41.88727179],
    [53.5, 42.12306747],
    [54.5, 42.35958083],
    [55.5, 42.59680005],
    [56.5, 42.83470002],
    [57.5, 43.07324334],
    [58.5, 43.31238142],
    [59.5, 43.55205545],
    [60.5, 43.79219739],
    [61.5, 44.03273079],
    [62.5, 44.2735717],
    [63.5, 44.51462971],
    [64.5, 44.75580834],
    [65.5, 44.99700627],
    [66.5, 45.23811781],
    [67.5, 45.47903377],
    [68.5, 45.71964213],
    [69.5, 45.95982864],
    [70.5, 46.19947853],
    [71.5, 46.43847386],
    [72.5, 46.67669942],
    [73.5, 46.91403876],
    [74.5, 47.15037688],
    [75.5, 47.38560051],
    [76.5, 47.61959843],
    [77.5, 47.85226234],
    [78.5, 48.08348715],
    [79.5, 48.3131716],
    [80.5, 48.54121877],
    [81.5, 48.76753649],
    [82.5, 48.99203795],
    [83.5, 49.21464197],
    [84.5, 49.43527366],
    [85.5, 49.65386477],
    [86.5, 49.87035402],
    [87.5, 50.08468779],
    [88.5, 50.29682027],
    [89.5, 50.50671408],
    [90.5, 50.71434057],
    [91.5, 50.91968029],
    [92.5, 51.12272343],
    [93.5, 51.32347027],
    [94.5, 51.52193152],
    [95.5, 51.71812883],
    [96.5, 51.9120952],
    [97.5, 52.10387554],
    [98.5, 52.29352694],
    [99.5, 52.4811194],
    [100.5, 52.66673596],
    [101.5, 52.8504735],
    [102.5, 53.03244297],
    [103.5, 53.21276992],
    [104.5, 53.39159486],
    [105.5, 53.56907369],
    [106.5, 53.745378],
    [107.5, 53.92069514],
    [108.5, 54.09522866],
    [109.5, 54.26919797],
    [110.5, 54.4428383],
    [111.5, 54.61640044],
    [112.5, 54.79014978],
    [113.5, 54.96436578],
    [114.5, 55.13934021],
    [115.5, 55.31537585],
    [116.5, 55.49278402],
    [117.5, 55.67188203],
    [118.5, 55.85298969],
    [119.5, 56.03642565],
    [120.5, 56.22250256],
    [121.5, 56.41152176],
    [122.5, 56.60376753],
    [123.5, 56.79950024],
    [124.5, 56.99894944],
    [125.5, 57.20230565],
    [126.5, 57.40971348],
    [127.5, 57.62126273],
    [128.5, 57.83698119],
    [129.5, 58.0568273],
    [130.5, 58.28068395],
    [131.5, 58.50835356],
    [132.5, 58.73955459],
    [133.5, 58.97392031],
    [134.5, 59.21099981],
    [135.5, 59.45026136],
    [136.5, 59.69109849],
    [137.5, 59.93283898],
    [138.5, 60.1747547],
    [139.5, 60.41607696],
    [140.5, 60.65600925],
    [141.5, 60.89374446],
    [142.5, 61.12847923],
    [143.5, 61.35943416],
    [144.5, 61.58586499],
    [145.5, 61.80707877],
    [146.5, 62.02244538],
    [147.5, 62.23140711],
    [148.5, 62.4334858],
    [149.5, 62.62828721],
    [150.5, 62.81550274],
    [151.5, 62.99490882],
    [152.5, 63.16636379],
    [153.5, 63.32980345],
    [154.5, 63.48523468],
    [155.5, 63.63272834],
    [156.5, 63.77241148],
    [157.5, 63.90445931],
    [158.5, 64.02908694],
    [159.5, 64.1465418],
    [160.5, 64.25709643],
    [161.5, 64.36104145],
    [162.5, 64.45868],
    [163.5, 64.55032214],
    [164.5, 64.63628045],
    [165.5, 64.71686621],
    [166.5, 64.79238617],
    [167.5, 64.86314007],
    [168.5, 64.92941813],
    [169.5, 64.99150155],
    [170.5, 65.04965761],
    [171.5, 65.10414209],
    [172.5, 65.1551979],
    [173.5, 65.20305478],
    [174.5, 65.24792925],
    [175.5, 65.2900249],
    [176.5, 65.32953323],
    [177.5, 65.36663199],
    [178.5, 65.40148823],
    [179.5, 65.43425738],
    [180.5, 65.46508417],
    [181.5, 65.49410312],
    [182.5, 65.52143912],
    [183.5, 65.54720815],
    [184.5, 65.57151757],
    [185.5, 65.594467],
    [186.5, 65.61614858],
    [187.5, 65.63664769],
    [188.5, 65.65604329],
    [189.5, 65.67440846],
    [190.5, 65.69181079],
    [191.5, 65.70831288],
    [192.5, 65.72397262],
    [193.5, 65.73884349],
    [194.5, 65.75297519],
    [195.5, 65.76641362],
    [196.5, 65.77920131],
    [197.5, 65.79137765],
    [198.5, 65.80297927],
    [199.5, 65.81404007],
    [200.5, 65.82459149],
    [201.5, 65.83466279],
    [202.5, 65.84428123],
    [203.5, 65.85347202],
    [204.5, 65.86225868],
    [205.5, 65.87066321],
    [206.5, 65.87870601],
    [207.5, 65.88640613],
    [208.5, 65.89378145],
    [209.5, 65.90084858],
    [210.5, 65.90762311],
    [211.5, 65.91411961],
    [212.5, 65.92035174],
    [213.5, 65.92633237],
    [214.5, 65.93207352],
    [215.5, 65.93758647],
    [216.5, 65.94288191],
    [217.5, 65.94796982],
    [218.5, 65.95285963],
    [219.5, 65.95756034],
    [220.5, 65.96208023],
    [221.5, 65.96642735],
    [222.5, 65.97060913],
    [223.5, 65.97463271],
    [224.5, 65.97850484],
    [225.5, 65.98223189],
    [226.5, 65.98581992],
    [227.5, 65.98927465],
    [228.5, 65.99260154],
    [229.5, 65.99580583],
    [230.5, 65.99889245],
    [231.5, 66.00186611],
    [232.5, 66.00473127],
    [233.5, 66.00749222],
    [234.5, 66.01015301],
    [235.5, 66.01271758],
    [236.5, 66.01518959],
    [237.5, 66.01757266],
    [238.5, 66.01987018],
    [239.5, 66.02208534],
    [240, 66.02316305]

];

var statage_female_90th = [
    [36.5, 39.1137957],
    [37.5, 39.36181702],
    [38.5, 39.6078956],
    [39.5, 39.85242282],
    [40.5, 40.0957509],
    [41.5, 40.33819517],
    [42.5, 40.58003605],
    [43.5, 40.8215211],
    [44.5, 41.06286694],
    [45.5, 41.30426112],
    [46.5, 41.54586381],
    [47.5, 41.78780977],
    [48.5, 42.03020963],
    [49.5, 42.27315176],
    [50.5, 42.51670355],
    [51.5, 42.76091289],
    [52.5, 43.00580952],
    [53.5, 43.25140627],
    [54.5, 43.49770034],
    [55.5, 43.74467445],
    [56.5, 43.99229797],
    [57.5, 44.24052787],
    [58.5, 44.48931005],
    [59.5, 44.73857995],
    [60.5, 44.98826386],
    [61.5, 45.23827966],
    [62.5, 45.48853775],
    [63.5, 45.73894186],
    [64.5, 45.98939015],
    [65.5, 46.23977564],
    [66.5, 46.48998735],
    [67.5, 46.73991091],
    [68.5, 46.98942939],
    [69.5, 47.23842386],
    [70.5, 47.48677458],
    [71.5, 47.73436078],
    [72.5, 47.98106256],
    [73.5, 48.22676057],
    [74.5, 48.471337],
    [75.5, 48.71467627],
    [76.5, 48.95666557],
    [77.5, 49.19719535],
    [78.5, 49.43616008],
    [79.5, 49.6734586],
    [80.5, 49.90899482],
    [81.5, 50.14267818],
    [82.5, 50.37442409],
    [83.5, 50.60415457],
    [84.5, 50.83179855],
    [85.5, 51.05729249],
    [86.5, 51.28058072],
    [87.5, 51.50161608],
    [88.5, 51.72036005],
    [89.5, 51.93678344],
    [90.5, 52.15086682],
    [91.5, 52.36260072],
    [92.5, 52.5719863],
    [93.5, 52.77903567],
    [94.5, 52.98377227],
    [95.5, 53.1862314],
    [96.5, 53.38646048],
    [97.5, 53.58451972],
    [98.5, 53.78048219],
    [99.5, 53.97443442],
    [100.5, 54.16647681],
    [101.5, 54.35672388],
    [102.5, 54.54530449],
    [103.5, 54.73236247],
    [104.5, 54.91805639],
    [105.5, 55.10255995],
    [106.5, 55.28606198],
    [107.5, 55.46876629],
    [108.5, 55.65089143],
    [109.5, 55.83267027],
    [110.5, 56.01434938],
    [111.5, 56.19618802],
    [112.5, 56.37845698],
    [113.5, 56.56143688],
    [114.5, 56.74541643],
    [115.5, 56.93068976],
    [116.5, 57.11755364],
    [117.5, 57.30630398],
    [118.5, 57.49723191],
    [119.5, 57.69061918],
    [120.5, 57.88673303],
    [121.5, 58.08582054],
    [122.5, 58.2881025],
    [123.5, 58.49376706],
    [124.5, 58.70296261],
    [125.5, 58.91579122],
    [126.5, 59.13230189],
    [127.5, 59.35248394],
    [128.5, 59.57626154],
    [129.5, 59.80348883],
    [130.5, 60.03394636],
    [131.5, 60.26733916],
    [132.5, 60.50329665],
    [133.5, 60.7413743],
    [134.5, 60.98105785],
    [135.5, 61.22176948],
    [136.5, 61.46287599],
    [137.5, 61.70369923],
    [138.5, 61.94352794],
    [139.5, 62.18163098],
    [140.5, 62.41727119],
    [141.5, 62.64971958],
    [142.5, 62.87826899],
    [143.5, 63.1022477],
    [144.5, 63.32103069],
    [145.5, 63.53404986],
    [146.5, 63.74080218],
    [147.5, 63.94085567],
    [148.5, 64.13385294],
    [149.5, 64.31951292],
    [150.5, 64.49763022],
    [151.5, 64.66807283],
    [152.5, 64.83077828],
    [153.5, 64.9857484],
    [154.5, 65.13304336],
    [155.5, 65.27277497],
    [156.5, 65.40509981],
    [157.5, 65.53021208],
    [158.5, 65.64833699],
    [159.5, 65.75972397],
    [160.5, 65.864641],
    [161.5, 65.96336885],
    [162.5, 66.05619634],
    [163.5, 66.14341607],
    [164.5, 66.22532084],
    [165.5, 66.30220049],
    [166.5, 66.3743395],
    [167.5, 66.44201493],
    [168.5, 66.50549473],
    [169.5, 66.56503697],
    [170.5, 66.62088838],
    [171.5, 66.67328419],
    [172.5, 66.72244788],
    [173.5, 66.76859082],
    [174.5, 66.81191254],
    [175.5, 66.85260075],
    [176.5, 66.89083175],
    [177.5, 66.92677063],
    [178.5, 66.96057191],
    [179.5, 66.99237988],
    [180.5, 67.02232911],
    [181.5, 67.05054491],
    [182.5, 67.07714406],
    [183.5, 67.10223494],
    [184.5, 67.12591845],
    [185.5, 67.14828819],
    [186.5, 67.16943104],
    [187.5, 67.1894277],
    [188.5, 67.20835295],
    [189.5, 67.22627622],
    [190.5, 67.24326186],
    [191.5, 67.25936955],
    [192.5, 67.27465467],
    [193.5, 67.28916862],
    [194.5, 67.30295902],
    [195.5, 67.31607013],
    [196.5, 67.32854305],
    [197.5, 67.34041593],
    [198.5, 67.3517242],
    [199.5, 67.36250086],
    [200.5, 67.3727765],
    [201.5, 67.38257973],
    [202.5, 67.39193706],
    [203.5, 67.40087333],
    [204.5, 67.40941152],
    [205.5, 67.41757326],
    [206.5, 67.42537865],
    [207.5, 67.43284645],
    [208.5, 67.43999425],
    [209.5, 67.44683855],
    [210.5, 67.45339469],
    [211.5, 67.45967714],
    [212.5, 67.46569942],
    [213.5, 67.47147427],
    [214.5, 67.47701364],
    [215.5, 67.48232876],
    [216.5, 67.48743022],
    [217.5, 67.49232798],
    [218.5, 67.49703137],
    [219.5, 67.50154932],
    [220.5, 67.50589015],
    [221.5, 67.51006181],
    [222.5, 67.51407169],
    [223.5, 67.51792693],
    [224.5, 67.52163422],
    [225.5, 67.52519989],
    [226.5, 67.52862993],
    [227.5, 67.53193009],
    [228.5, 67.5351058],
    [229.5, 67.53816222],
    [230.5, 67.54110423],
    [231.5, 67.54393647],
    [232.5, 67.54666348],
    [233.5, 67.54928939],
    [234.5, 67.55181829],
    [235.5, 67.55425404],
    [236.5, 67.5566003],
    [237.5, 67.55886058],
    [238.5, 67.56103822],
    [239.5, 67.56313641],
    [240, 67.56415668]

];

var statage_female_95th = [
    [36.5, 39.69590833],
    [37.5, 39.94988216],
    [38.5, 40.2019662],
    [39.5, 40.45254905],
    [40.5, 40.70198001],
    [41.5, 40.95057109],
    [42.5, 41.19859937],
    [43.5, 41.44630884],
    [44.5, 41.6939124],
    [45.5, 41.94159379],
    [46.5, 42.1895094],
    [47.5, 42.43778992],
    [48.5, 42.68654191],
    [49.5, 42.93584948],
    [50.5, 43.18577572],
    [51.5, 43.43636409],
    [52.5, 43.68763977],
    [53.5, 43.93961093],
    [54.5, 44.19226997],
    [55.5, 44.44559479],
    [56.5, 44.69954973],
    [57.5, 44.95408679],
    [58.5, 45.20914678],
    [59.5, 45.46466002],
    [60.5, 45.72054768],
    [61.5, 45.97672247],
    [62.5, 46.23308977],
    [63.5, 46.48954829],
    [64.5, 46.74599127],
    [65.5, 47.002307],
    [66.5, 47.25837985],
    [67.5, 47.51409101],
    [68.5, 47.76931938],
    [69.5, 48.02394223],
    [70.5, 48.27783556],
    [71.5, 48.53087644],
    [72.5, 48.78294111],
    [73.5, 49.03390778],
    [74.5, 49.28365665],
    [75.5, 49.53207033],
    [76.5, 49.77903468],
    [77.5, 50.02443949],
    [78.5, 50.26817892],
    [79.5, 50.51015204],
    [80.5, 50.75026363],
    [81.5, 50.98842442],
    [82.5, 51.22455183],
    [83.5, 51.45857039],
    [84.5, 51.6904122],
    [85.5, 51.92001741],
    [86.5, 52.14733473],
    [87.5, 52.37232198],
    [88.5, 52.5949462],
    [89.5, 52.81518443],
    [90.5, 53.03302399],
    [91.5, 53.24846289],
    [92.5, 53.46151029],
    [93.5, 53.67218682],
    [94.5, 53.88052508],
    [95.5, 54.08657003],
    [96.5, 54.2903792],
    [97.5, 54.49202332],
    [98.5, 54.69158646],
    [99.5, 54.88916645],
    [100.5, 55.08487522],
    [101.5, 55.27883887],
    [102.5, 55.47119814],
    [103.5, 55.66210836],
    [104.5, 55.85173949],
    [105.5, 56.04027625],
    [106.5, 56.22791776],
    [107.5, 56.41487724],
    [108.5, 56.60138159],
    [109.5, 56.78767055],
    [110.5, 56.97399581],
    [111.5, 57.16061953],
    [112.5, 57.34781302],
    [113.5, 57.53585442],
    [114.5, 57.72502653],
    [115.5, 57.91561383],
    [116.5, 58.10789921],
    [117.5, 58.30216003],
    [118.5, 58.49866387],
    [119.5, 58.69766374],
    [120.5, 58.89939271],
    [121.5, 59.10405825],
    [122.5, 59.31183628],
    [123.5, 59.52286486],
    [124.5, 59.73723812],
    [125.5, 59.95500045],
    [126.5, 60.17614001],
    [127.5, 60.40058455],
    [128.5, 60.62819679],
    [129.5, 60.85877145],
    [130.5, 61.09203358],
    [131.5, 61.32763851],
    [132.5, 61.56517364],
    [133.5, 61.80416196],
    [134.5, 62.04406776],
    [135.5, 62.28430395],
    [136.5, 62.52424109],
    [137.5, 62.7632181],
    [138.5, 63.00055434],
    [139.5, 63.23556084],
    [140.5, 63.46755423],
    [141.5, 63.69586833],
    [142.5, 63.91986735],
    [143.5, 64.13895397],
    [144.5, 64.35258136],
    [145.5, 64.56025947],
    [146.5, 64.76156111],
    [147.5, 64.95612582],
    [148.5, 65.14366187],
    [149.5, 65.3239465],
    [150.5, 65.49682454],
    [151.5, 65.66220565],
    [152.5, 65.82006023],
    [153.5, 65.9704148],
    [154.5, 66.11334645],
    [155.5, 66.24897688],
    [156.5, 66.37746639],
    [157.5, 66.49900804],
    [158.5, 66.61382144],
    [159.5, 66.72214745],
    [160.5, 66.82424274],
    [161.5, 66.92037543],
    [162.5, 67.01082044],
    [163.5, 67.095856],
    [164.5, 67.17576037],
    [165.5, 67.25080911],
    [166.5, 67.32127285],
    [167.5, 67.38741525],
    [168.5, 67.44949209],
    [169.5, 67.50774866],
    [170.5, 67.56242148],
    [171.5, 67.61373561],
    [172.5, 67.66190508],
    [173.5, 67.7071327],
    [174.5, 67.74961013],
    [175.5, 67.78951787],
    [176.5, 67.82702537],
    [177.5, 67.86229243],
    [178.5, 67.89546804],
    [179.5, 67.92669172],
    [180.5, 67.95609374],
    [181.5, 67.98379569],
    [182.5, 68.0099107],
    [183.5, 68.03454426],
    [184.5, 68.05779443],
    [185.5, 68.07975239],
    [186.5, 68.10050284],
    [187.5, 68.12012458],
    [188.5, 68.13869065],
    [189.5, 68.15626901],
    [190.5, 68.17292268],
    [191.5, 68.18871017],
    [192.5, 68.20368585],
    [193.5, 68.21790014],
    [194.5, 68.23139999],
    [195.5, 68.2442289],
    [196.5, 68.25642737],
    [197.5, 68.26803301],
    [198.5, 68.27908085],
    [199.5, 68.28960341],
    [200.5, 68.29963102],
    [201.5, 68.30919193],
    [202.5, 68.3183124],
    [203.5, 68.32701705],
    [204.5, 68.33532867],
    [205.5, 68.34326868],
    [206.5, 68.35085703],
    [207.5, 68.35811239],
    [208.5, 68.36505223],
    [209.5, 68.37169287],
    [210.5, 68.3780496],
    [211.5, 68.38413685],
    [212.5, 68.38996803],
    [213.5, 68.39555579],
    [214.5, 68.40091205],
    [215.5, 68.40604796],
    [216.5, 68.41097403],
    [217.5, 68.41570021],
    [218.5, 68.42023577],
    [219.5, 68.42458955],
    [220.5, 68.42876986],
    [221.5, 68.43278455],
    [222.5, 68.43664105],
    [223.5, 68.44034633],
    [224.5, 68.44390712],
    [225.5, 68.44732968],
    [226.5, 68.45061996],
    [227.5, 68.45378366],
    [228.5, 68.45682614],
    [229.5, 68.45975248],
    [230.5, 68.46256756],
    [231.5, 68.46527599],
    [232.5, 68.46788217],
    [233.5, 68.47039024],
    [234.5, 68.47280426],
    [235.5, 68.47512796],
    [236.5, 68.47736501],
    [237.5, 68.47951883],
    [238.5, 68.48159277],
    [239.5, 68.48358989],
    [240, 68.48456064]

];

var statage_female_97th = [
    [36.5, 40.0760594],
    [37.5, 40.33407217],
    [38.5, 40.59022503],
    [39.5, 40.84490733],
    [40.5, 41.0984683],
    [41.5, 41.35121938],
    [42.5, 41.6034366],
    [43.5, 41.85536248],
    [44.5, 42.10720809],
    [45.5, 42.35915512],
    [46.5, 42.6113575],
    [47.5, 42.86394334],
    [48.5, 43.11701635],
    [49.5, 43.37065771],
    [50.5, 43.62492726],
    [51.5, 43.87986507],
    [52.5, 44.13549293],
    [53.5, 44.39181535],
    [54.5, 44.64882104],
    [55.5, 44.90648393],
    [56.5, 45.16476459],
    [57.5, 45.42361099],
    [58.5, 45.68295983],
    [59.5, 45.94273745],
    [60.5, 46.20286086],
    [61.5, 46.46323883],
    [62.5, 46.72377259],
    [63.5, 46.98435699],
    [64.5, 47.24488134],
    [65.5, 47.50523014],
    [66.5, 47.76528422],
    [67.5, 48.02492129],
    [68.5, 48.28401694],
    [69.5, 48.5424455],
    [70.5, 48.80007962],
    [71.5, 49.05679484],
    [72.5, 49.31246427],
    [73.5, 49.56696448],
    [74.5, 49.82017395],
    [75.5, 50.07197401],
    [76.5, 50.32224965],
    [77.5, 50.57089006],
    [78.5, 50.81778917],
    [79.5, 51.06284647],
    [80.5, 51.30596719],
    [81.5, 51.54706331],
    [82.5, 51.78605367],
    [83.5, 52.02286479],
    [84.5, 52.25743109],
    [85.5, 52.48969567],
    [86.5, 52.71961048],
    [87.5, 52.94713694],
    [88.5, 53.17224635],
    [89.5, 53.39492037],
    [90.5, 53.61515128],
    [91.5, 53.83294246],
    [92.5, 54.04830895],
    [93.5, 54.26127761],
    [94.5, 54.47188756],
    [95.5, 54.68019063],
    [96.5, 54.88625169],
    [97.5, 55.0901488],
    [98.5, 55.29197387],
    [99.5, 55.49183252],
    [100.5, 55.68984472],
    [101.5, 55.88614467],
    [102.5, 56.08088103],
    [103.5, 56.274217],
    [104.5, 56.46633022],
    [105.5, 56.65741256],
    [106.5, 56.84766983],
    [107.5, 57.03732131],
    [108.5, 57.22659897],
    [109.5, 57.41574648],
    [110.5, 57.60501815],
    [111.5, 57.79467727],
    [112.5, 57.98499419],
    [113.5, 58.17624413],
    [114.5, 58.36870443],
    [115.5, 58.56265143],
    [116.5, 58.75835677],
    [117.5, 58.95608353],
    [118.5, 59.15608139],
    [119.5, 59.35858201],
    [120.5, 59.56379335],
    [121.5, 59.77189436],
    [122.5, 59.983029],
    [123.5, 60.19730034],
    [124.5, 60.41476495],
    [125.5, 60.63542798],
    [126.5, 60.85923704],
    [127.5, 61.08607936],
    [128.5, 61.31577839],
    [129.5, 61.54809174],
    [130.5, 61.782711],
    [131.5, 62.01926298],
    [132.5, 62.2573126],
    [133.5, 62.49636761],
    [134.5, 62.73588498],
    [135.5, 62.97527901],
    [136.5, 63.21393055],
    [137.5, 63.45119745],
    [138.5, 63.68642695],
    [139.5, 63.91896487],
    [140.5, 64.14816964],
    [141.5, 64.37342169],
    [142.5, 64.59413649],
    [143.5, 64.80976862],
    [144.5, 65.01982436],
    [145.5, 65.22386534],
    [146.5, 65.42151324],
    [147.5, 65.6124526],
    [148.5, 65.79643155],
    [149.5, 65.97326173],
    [150.5, 66.14281611],
    [151.5, 66.30502632],
    [152.5, 66.45987888],
    [153.5, 66.60741065],
    [154.5, 66.747704],
    [155.5, 66.88088143],
    [156.5, 67.00710059],
    [157.5, 67.12654861],
    [158.5, 67.23943725],
    [159.5, 67.34599774],
    [160.5, 67.44647638],
    [161.5, 67.54113009],
    [162.5, 67.63022274],
    [163.5, 67.71402157],
    [164.5, 67.79279436],
    [165.5, 67.86680669],
    [166.5, 67.9363198],
    [167.5, 68.00158893],
    [168.5, 68.06286211],
    [169.5, 68.12037686],
    [170.5, 68.17436382],
    [171.5, 68.22504227],
    [172.5, 68.27262092],
    [173.5, 68.31729795],
    [174.5, 68.35926081],
    [175.5, 68.39868631],
    [176.5, 68.43574022],
    [177.5, 68.47057981],
    [178.5, 68.50335136],
    [179.5, 68.53419205],
    [180.5, 68.56323002],
    [181.5, 68.59058499],
    [182.5, 68.61636851],
    [183.5, 68.64068459],
    [184.5, 68.66362999],
    [185.5, 68.68529477],
    [186.5, 68.70576261],
    [187.5, 68.72511136],
    [188.5, 68.74341338],
    [189.5, 68.76073583],
    [190.5, 68.77714116],
    [191.5, 68.79268731],
    [192.5, 68.80742818],
    [193.5, 68.82141382],
    [194.5, 68.83469075],
    [195.5, 68.84730222],
    [196.5, 68.85928837],
    [197.5, 68.87068656],
    [198.5, 68.88153164],
    [199.5, 68.89185598],
    [200.5, 68.90168969],
    [201.5, 68.91106083],
    [202.5, 68.91999564],
    [203.5, 68.92851848],
    [204.5, 68.93665219],
    [205.5, 68.94441802],
    [206.5, 68.95183586],
    [207.5, 68.95892425],
    [208.5, 68.96570067],
    [209.5, 68.9721813],
    [210.5, 68.9783815],
    [211.5, 68.98431548],
    [212.5, 68.98999674],
    [213.5, 68.99543781],
    [214.5, 69.00065053],
    [215.5, 69.00564608],
    [216.5, 69.01043494],
    [217.5, 69.01502687],
    [218.5, 69.01943129],
    [219.5, 69.02365688],
    [220.5, 69.02771192],
    [221.5, 69.03160425],
    [222.5, 69.03534122],
    [223.5, 69.0389298],
    [224.5, 69.04237665],
    [225.5, 69.04568795],
    [226.5, 69.04886969],
    [227.5, 69.05192745],
    [228.5, 69.05486658],
    [229.5, 69.05769213],
    [230.5, 69.06040891],
    [231.5, 69.06302151],
    [232.5, 69.06553426],
    [233.5, 69.06795127],
    [234.5, 69.07027651],
    [235.5, 69.07251376],
    [236.5, 69.07466655],
    [237.5, 69.07673833],
    [238.5, 69.0787323],
    [239.5, 69.08065163],
    [240, 69.08158423]

];

$(function chartSetup() {
    $('#container').highcharts({
        chart: {
            type: 'areaspline'
        },
        title: {
            text: 'Height Growth Chart (Females)'
        },
        legend: {
            layout: 'horizontal',
            align: 'center',
            verticalAlign: 'bottom',
            borderWidth: 1,
            backgroundColor: '#FFFFFF',
            itemStyle: {
                cursor: 'pointer',
                color: '#274b6d',
                fontSize: '12px'
            }
        },
        plotOptions: {
            areaspline: {
                fillOpacity: 0.2
            },
            series: {
                minPointLength: 1,
                shadow: false,
                events: {
                    legendItemClick: function () {
                        if (this.name == 'Percentiles') {
                            toggleBands(chart);
                        }
                    }
                }
            }
        },
        xAxis: {
            title: {
                text: 'Age (months)'
            },
            labels: {
                rotation: -90,
                step: 5
            },
            tickInterval: 5
        },
        yAxis: {
            title: {
                text: 'Height (inches)'
            },
            min: 32
        },
        tooltip: {
            shared: true,
            valueSuffix: ' inches',
            valueDecimals: 2
        },
        credits: {
            enabled: false
        },
        series: [{
            name: '3rd Percentile',
            data: statage_female_3rd,
            marker: {
                enabled: false
            }
        }, {
            name: '5th Percentile',
            data: statage_female_5th,
            marker: {
                enabled: false
            }
        }, {
            name: '10th Percentile',
            data: statage_female_10th,
            marker: {
                enabled: false
            }
        }, {
            name: '25th Percentile',
            data: statage_female_25th,
            marker: {
                enabled: false
            }
        }, {
            name: '50th Percentile',
            data: statage_female_50th,
            marker: {
                enabled: false
            }
        }, {
            name: '75th Percentile',
            data: statage_female_75th,
            marker: {
                enabled: false
            }
        }, {
            name: '90th Percentile',
            data: statage_female_90th,
            marker: {
                enabled: false
            }
        }, {
            name: '95th Percentile',
            data: statage_female_95th,
            marker: {
                enabled: false
            }
        }, {
            name: '97th Percentile',
            data: statage_female_97th,
            marker: {
                enabled: false
            }
        }]
    });
});

function toggleBands(chart) {
    $.each(chart.xAxis, function (index, elX) {
        $.each(elX.plotLinesAndBands, function (index, el) {
            if (el.svgElem !== undefined) {
                el.svgElem[el.visible ? 'show' : 'hide']();
                el.visible = !el.visible;
            }
        });
    });
}

$('.toggle-trigger').click(function () {
    var target = $(this).attr('data-target');

    $('#' + target).slideToggle('slow');

    if ($(this).hasClass('plus')) {
        $(this).addClass('minus').removeClass('plus');
    } else {
        $(this).addClass('plus').removeClass('minus');
    }
});